FROM openjdk:17.0.2-oraclelinux8

MAINTAINER 阿浩

EXPOSE ${SERVER_PORT}
EXPOSE ${ACTIVE}

ADD ./build/libs/applet-web.jar ./app.jar

ENTRYPOINT java  -Dserver.port=${SERVER_PORT} \
            -Dspring.profiles.active=${ACTIVE} \
           -jar app.jar
